home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
winter_challenge.swf
/
scripts
/
frame_153
/
PlaceObject2_337_137
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-08-19
|
816b
|
31 lines
onClipEvent(enterFrame){
if(this != _root.doppelBall && hitFlag != 1)
{
this._x -= goX;
this._y -= goY;
if(this._x - 4 <= targetX && this._x + 4 >= targetX && this._y - 4 <= targetY && this._y + 4 >= targetY)
{
hitFlag = 1;
if(this.hitTest(_root.ATVclip))
{
hitFlag = 1;
if(_root.redTire_cheat == 0)
{
if(Math.abs(_root.ATVclip.w) > 0.2)
{
_root.ATVclip.w -= _root.ATVclip.w / 2;
}
_root.ATVclip.reduceShields(150,10);
}
_root.CONK.start(0,0);
}
else
{
_root.EXPLOSIO.start(0,0);
}
ball1.play();
ball2.play();
}
}
}